public class message{
    String sender;
    String recipient;
    String text;
    message()
    {
        this.text = "";
    }
    public void append(String newtext)
    {
        text+="\n"+newtext;
    }
    public void my_toString(){
        System.out.println("From:"+this.sender+'\n'+"To:"+this.recipient+'\n'+text);
    }
}